x86: Remove redundant clear for cpu_online_map.
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 30 Mar 2010 07:31:52 +0000 (08:31 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 30 Mar 2010 07:31:52 +0000 (08:31 +0100)
Remove it, maybe caused by accident diff operation.

Signed-off-by: Xiantao Zhang <xiantao.zhang@intel.com>
xen/arch/x86/smpboot.c

index fcac97419a3d22fc8266fd3f08469cf073f14075..0fb829028e71a8af8ee70e281f151d0d3d0acc14 100644 (file)
@@ -1302,10 +1302,9 @@ int __cpu_disable(void)
 
        remove_siblinginfo(cpu);
 
-       cpu_clear(cpu, cpu_online_map);
-       fixup_irqs();
        /* It's now safe to remove this processor from the online map */
        cpu_clear(cpu, cpu_online_map);
+       fixup_irqs();
 
        cpu_disable_scheduler();